import { request} from "@/utils/request.js";

// 获取帖子评论
export const getCommentAPI = (data) =>
  request('blog-comments/query', {
    params: data
  })

// 发表评论
export const submitCommentAPI = (data) =>
  request.post('blog-comments/save', data)
